<template>
<div>
    
    <page-top :active="'5'" :logoPic="logoPic"></page-top>
    <div :style="style"></div>
    <corporate-culture :environment='environment'></corporate-culture>
    <div class="history">
        <p style="font-size: 24px;color: #333333;text-align: center;font-weight: bold;">纳品网发展史</p>
        <div class="line"></div>
        <div class="year" v-for="(item,index) in develoption" :key="index" style="" :id="'year('+index+')'">
            <span class="years">{{item.years}}</span>
            <div class="circle">
                <div class="yuan"></div>
            </div>
            <span class="text">{{item.content}}</span>
        </div>
    </div>
    <page-bottom :napinAddress="way.position"></page-bottom>
</div>
   
</template>

<script>
import pageTop from "@/components/common/pageTop";
import pageBottom from "@/components/common/pageBottom.vue";
import corporateCulture from '@/components/aboutUs/corporateCulture.vue'
import request from '@/request/index.js'
export default {
    components:{
        'PageTop': pageTop,
        'PageBottom': pageBottom,
        'corporateCulture':corporateCulture
    },
    name:'aboutUs',
    data () {
        return {
            develoption: [],
            environment:{},
            style:{
                backgroundImage: "url(" + require("../images/officalPic/96.png") + ")",
                backgroundPosition:'center center',
                backgroundSize:'1920px 560px',
                height:'560px',
                width:'100%',
            },
            way:{},
            logoPic:"",
        }
    },
    name: "aboutUs",
    methods:{
        
    },
    created(){
        this.loading=this.$loading({
        lock: true,
        // text: 'Loading',
        // spinner: 'el-icon-loading',
        background: 'rgba(255, 255, 255, 0.6)',
        target: document.querySelector('body'),
        
        });
    },
    mounted(){
        request.napinDevelop(this);
        request.getCompanyEnvironment(this);
        request.GetContact(this);
        request.home(this);

    }
}
</script>

<style scoped lang='scss'>
    .history{
    width: 1200px;
    background: #fff;
    // padding-top: 4.67vw;
    margin:0 auto;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    position: relative;
    padding-bottom:100px;
      .line{
        margin-top: 50px;
        height: 90%;
        border-left: 1px solid #999999;
        position: absolute;
        left: 152px;
      }
    .year{
        overflow: hidden;
        margin-top: 80px;
      color: #333;
      font-size: 13px;
     /* position: relative;*/
    //   padding-left: 6.7vw;
      -webkit-box-sizing: border-box;
      -moz-box-sizing: border-box;
      box-sizing: border-box;
      background: #fff;
      top: 3vw;
    //   height: 5vw;
      padding-top: .5vw;
      width: 100%;
      .text{
        // width: 65.07vw;
        width:990px;
        height: 100%;
        text-align: left;
        padding-left: 20px;
        display:inline-block;
        margin-top:5px;
        font-size: 16px;
        color:#333333
      }
      .years{
        float: left;
        background-color: rgba(255,76,80,.3);
        font-size:26px;
        width:120px;
        height:32px;
        border-radius:16px;
        text-align:center;
        line-height:32px;
      }
      .circle{
        width: 24px;
        height: 24px;
        margin-top:4px;
        border: 1px solid #999;
        -webkit-border-radius: 50%;
        -moz-border-radius: 50%;
        border-radius: 50%;
        display: inline-block;
        float: left;
        margin-left: 20px;
        position: relative;
        background: #fff;
          .yuan{
            background: #000;
            width:50%;
            height:50%;
            border-radius: 50%;
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            margin: auto;
          }
      }
    }
  }
</style>
